package common.library.utils;

import java.net.URLEncoder;

public class EncodeUtil {

    public static String urlEncode(String text) {
        try {
            return URLEncoder.encode(text, "UTF-8");
        } catch (Exception ex) {
            return text;
        }
    }
}
